package com.tancire.net.domain;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tancire.common.annotation.Excel;
import com.tancire.common.core.domain.BaseEntity;

/**
 * 客户收益对象 crm_company_purse
 *
 * @author chenchao
 * @date 2023-12-30
 */
public class CrmCompanyPurse extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 企业ID
     */
    @Excel(name = "企业ID")
    private Long companyId;

    /**
     * 企业名称
     */
    @Excel(name = "企业名称")
    private String companyName;

    /**
     * 今日收益（实际昨日收益）
     */
    @Excel(name = "今日收益", readConverterExp = "实=际昨日收益")
    private BigDecimal todayAmount;

    /**
     * 总收益
     */
    @Excel(name = "总收益")
    private BigDecimal totalAmount;

    /**
     * 今日激活量（实际昨日激活量）
     */
    @Excel(name = "今日激活量", readConverterExp = "实=际昨日激活量")
    private Integer todayCount;

    /**
     * 总激活量
     */
    @Excel(name = "总激活量")
    private Integer totalCount;

    /**
     * 可提现金额
     */
    @Excel(name = "可提现金额")
    private BigDecimal withdrawPrice;

    /**
     * 0 正常  1 删除  真删除，字段保留
     */
    private Integer delFlag;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setTodayAmount(BigDecimal todayAmount) {
        this.todayAmount = todayAmount;
    }

    public BigDecimal getTodayAmount() {
        return todayAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTodayCount(Integer todayCount) {
        this.todayCount = todayCount;
    }

    public Integer getTodayCount() {
        return todayCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setWithdrawPrice(BigDecimal withdrawPrice) {
        this.withdrawPrice = withdrawPrice;
    }

    public BigDecimal getWithdrawPrice() {
        return withdrawPrice;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("companyId", getCompanyId())
                .append("companyName", getCompanyName())
                .append("todayAmount", getTodayAmount())
                .append("totalAmount", getTotalAmount())
                .append("todayCount", getTodayCount())
                .append("totalCount", getTotalCount())
                .append("withdrawPrice", getWithdrawPrice())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
